import request from '../../utils/request';
//添加一个物品视频记录
export function addGoodsVideo(goodsVideo) {
  return request({
    url:'/service/goods/video/addGoodsVideo',
    method:'post',
    data: goodsVideo
  })
}
//获取一个物品的视频信息
export function getGoodsVideoById(goodsId) {
  return request({
    url:'/service/goods/video/getGoodsVideoById/'+goodsId,
    method:'get',
  })
}
//删除一个物品视频记录
export function deleteGoodsVideoById(goodsId,videoId) {
  return request({
    url:'/service/goods/video/removeGoodsVideoById/'+goodsId+'/'+videoId,
    method:'delete'
  })

}
